<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<%@ page import="com.scalar.chiptrack.utils.ConfigManager" %>
<%@ page import="com.scalar.chiptrack.commons.Constants" %>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>

<chiptrack:checkLogon sourcePage="/dataEntryLots.do"/>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();  //try {
%>

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type="text/css" rel="stylesheet">
<script src="<%=chipTracContext%>/jsp/includes/scripts/functions.js"></script>
<script src="<%=chipTracContext%>/jsp/includes/scripts/validations.js"></script>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">

<script language="javascript">

function confirm()
{
    document.dataEntryLotsForm.action = "<%=chipTracContext%>/dataEntryLots.do?action=confirm";
    document.dataEntryLotsForm.submit();
}
</script>
<!-- Top Header Start-->
<%@ include file="/jsp/includes/header.jsp" %>

<!-- Top Header End-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
	<td width='180' valign='top' background='<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif'>
<!-- Side Navigation start -->
<%@ include file="/jsp/operations/dataentryMenu.jsp" %>

<!-- end of the side navigations -->
<TD bgcolor="#ffffff">
<IMG height=9 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=8></TD>
<TD bgcolor="#ffffff"><IMG height=480 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=2></TD>
<TD valign="top" width="100%">
<IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0>
<BR>
<html:form action="/dataEntryLots" name="dataEntryLotsForm" type="com.scalar.chiptrack.operations.dataentry.forms.DataEntryLotsForm" >

<TABLE border="0" width="95%" align=center>
<TR>
        <TD colspan='4'>
            <FONT class='NArialL'><FONT color='red'>Are you sure, you want to <font color="blue">close</font> lots <font color="blue">permanently</font> ?&nbsp;&nbsp;</FONT></FONT>
            <a href='javascript:confirm();' onmouseover="window.status='Confirm To close this DataEntry lots ';return true" onmouseout="window.status='';return true"><img src='<%=chipTracContext%>/jsp/includes/images/confirm.gif' border='0'></a>&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="<%=chipTracContext%>/dataEntryLots.do?action=search" onMouseOver="window.status='Go Back to Main DataEntry Lots Search';return true" onMouseOut="window.status='';return true">
                <img src='<%=chipTracContext%>/jsp/includes/images/cancel.gif' border='0'>
            </a>
        </TD>
</TR>
 <TR>
        <TD COLSPAN="4"><IMG SRC="<%=chipTracContext%>/jsp/includes/images/spacer.gif" HEIGHT=20></TD>
</TR>
<TR><TD colspan=4 class="NArialW" align="center"> Data Entry Lots</TD></TR>
<TR><TD colspan=4>&nbsp;</TD></TR>
<TR><TD COLSPAN=4>&nbsp;</TD></TR>
<TR><TD colspan=4>
  <chiptrack:info styleClass="NArialL" />
  <chiptrack:errors styleClass="NArialL" />
  <chiptrack:messages type="info" styleClass="NArialL" />
</TD></TR>
<TR><TD>
<TABLE  border="0" width="100%" cellpadding="1" cellspacing="1">
<TR>
    <TD COLSPAN="4"><IMG SRC="<%=chipTracContext%>/jsp/includes/images/spacer.gif" HEIGHT=20></TD>
</TR>
    <nested:present property="confirmDataEntryLots">
    <nested:size id="LotsSize" property="confirmDataEntryLots" />
    <logic:greaterThan name="LotsSize" value="0">

     <TR>
         <TD colspan='4'>
                <table width="100%" align="left" cellpadding="2" cellspacing="2" border="0">
                    <tr bgcolor="#993333" class="NArialL" align = "center">
                        <td width="20%" align="center"><font color="#FFFFFF">Part Number</font></td>
                            <td width="10%" align="center"><font color="#FFFFFF">Lot Number</font></td>
                            <td width="10%" align="center"><font color="#FFFFFF">Fab Lot Number</font></td>
                            <td width="10%" align="center"><font color="#FFFFFF">Vendor</font></td>
                            <td width="10%" align="center"><font color="#FFFFFF">Process</font></td>
                            <td width="10%" align="center"><font color="#FFFFFF">Date In</font></td>
                            <td width="10%" align="center"><font color="#FFFFFF">Qty In</font></td>
                     </tr>

                    <nested:iterate id="dataEntrylotInfo" property="confirmDataEntryLots" indexId="iterateIdx" type="com.scalar.chiptrack.operations.dataentry.DataEntryLot">

                    <tr bgcolor='<%=iterateIdx.intValue() % 2 == 0 ? "#FFFFEE" : "#DEE1E2"%>'>
                        <td align="center" class='NArialL'><nested:write name="dataEntrylotInfo" property ="partNumber"/></td>
                        <td align="center" class='NArialL'><nested:write name="dataEntrylotInfo" property ="lotNumber"/></td>
                        <td align="center" class='NArialL'><nested:write name="dataEntrylotInfo" property ="fabLotNumber"/></td>
                        <td align="center" class='NArialL'><nested:write name="dataEntrylotInfo" property ="vendorName"/></td>
                        <td align="center" class='NArialL'><nested:write name="dataEntrylotInfo" property ="psType"/></td>
                        <td align="center" class='NArialL'><nested:write name="dataEntrylotInfo"  property ="dateIn"/></td>
                        <td align="right" class='NArialL'><nested:write name="dataEntrylotInfo" property ="currentQty"/></td>
                    </tr>

                    </nested:iterate>
                    <TR>
                        <TD COLSPAN="10"><IMG SRC="<%=chipTracContext%>/jsp/includes/images/spacer.gif" HEIGHT=20></TD>
                    </TR>
              </table>
         </TD>
    </TR>
    </logic:greaterThan>
    </nested:present>

</TABLE>
</TD>
</TR>
</TABLE>
</html:form>
<BR><BR><BR></TD>
<TD bgcolor="#ffffff"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
</TR>
</TABLE>
<!-- Footer starts here -->
<%@ include file="/jsp/includes/footer.jsp" %>
<!-- footer end here -->
</BODY>
</HTML>
